package com.ktjy.service;

import com.ktjy.pojo.SysUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface SysUserService {
    //查询总数
    int count(String realName, Integer queryRoleId);

    List<SysUser> getUserListByParams(String realName, Integer roleId, Integer pageBegin, Integer pageSize);

    SysUser login(String account, String password);

    SysUser selectAccount(String account);

    int insert(SysUser sysUser);

    SysUser selectById(Integer id);

    int delete(Integer id);

    int updateXX(SysUser sysUser);

    int UpdatePwd(String pwd, String jpwd, Integer id);
}
